package cn.tedu.medicalmanagementsystem.user.pojo.vo;

import cn.tedu.medicalmanagementsystem.escort.pojo.entity.Escort;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class UserVO {
    @ApiModelProperty(value = "用户ID")
    private Long id;                  // 用户ID

    @ApiModelProperty(value = "用户名")
    private String username;          // 用户名

    @ApiModelProperty(value = "真实姓名")
    private String realName;          // 真实姓名

    @ApiModelProperty(value = "密码")
    private String password;          // 密码

    @ApiModelProperty(value = "性别")
    private String gender;            // 性别

    @ApiModelProperty(value = "身份证号")
    private String idCard;            // 身份证号

    @ApiModelProperty(value = "联系电话")
    private String phone;             // 联系电话

    @ApiModelProperty(value = "邮箱")
    private String email;             // 邮箱

    @ApiModelProperty(value = "头像")
    private String avatar;            // 头像URL

    @ApiModelProperty(value = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;            // 生日

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;          // 创建时间


}